import request from "../../utils/request";

export default {

//  查询分页
  getAutomobileList(current, limit) {
    return request({
      url: `/serviceauto/automobileFront/getAutomobileFront/${current}/${limit}`,
      method: 'get'
    })
  },

//  根据id获取汽车的信息,根据汽车的创始人id获取创始人
  getAutomobileFounder(id) {
    return request({
      url: `/serviceauto/automobileFront/automobileFounderInfo/${id}`,
      method: 'get'
    })
  },

//  获取一级分类和二级分类
  getAllCategory() {
    return request({
      url: `/serviceauto/automobile-category/listCategory`,
      method: 'get'
    })
  }

}


